import numpy as np
import matplotlib.pyplot as plt


traj = np.load('test16.npy')
traj1 = np.load('test17.npy')
traj2 = np.load('realdmp3d.npy')

fig = plt.figure(figsize=(10,6))
ax = fig.add_subplot(111, projection='3d')
# ax.plot(traj[:, 0], traj[:, 1], traj[:, 2], '--', c='b', linewidth=2)
# ax.plot(traj1[:, 0], traj1[:, 1], traj1[:, 2], '--', c='r', linewidth=2)
ax.plot(traj2[:, 0], traj2[:, 1], traj2[:, 2], '--', c='g', linewidth=2)
ax.set_xlabel('$x$ [m]',fontname='Times New Roman', fontsize=20, labelpad = 15)#, fontsize=12
ax.set_ylabel('$y$ [m]',fontname='Times New Roman', fontsize=20, labelpad = 15)
ax.set_zlabel('$z$ [m]',fontname='Times New Roman', fontsize=20, labelpad = 15)
plt.show()